package com.byxy.ssm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byxy.ssm.mapper.TFIntegrationMapper;
import com.byxy.ssm.pojo.TFIntegration;
import com.byxy.ssm.service.TFIntegrationService;
@Service
@Transactional
public class TabForumServiceImpl implements TFIntegrationService{

	@Resource 
	private TFIntegrationMapper tabForumMapper;
	@Override
	public int delete(Integer tabForumId) {
		// TODO Auto-generated method stub
		return tabForumMapper.delete(tabForumId);
	}

	@Override
	public void insert(TFIntegration tabForum) {
		// TODO Auto-generated method stub
		 tabForumMapper.insert(tabForum);
	}

	@Override
	public TFIntegration getById(Integer tabForumId) {
		// TODO Auto-generated method stub
		return tabForumMapper.getById(tabForumId);
	}

	@Override
	public List<TFIntegration> findAll() {
		// TODO Auto-generated method stub
		return tabForumMapper.findAll();
	}

	@Override
	public int update(TFIntegration tabForum) {
		// TODO Auto-generated method stub
		return tabForumMapper.update(tabForum);
	}

}
